all:thread.exe textThread.exe

thread.exe:thread.cc
	g++ thread.cc -o thread.exe -lpthread -std=c++11

textThread.exe:textThread.cc
	g++ textThread.cc -o textThread.exe -lpthread -std=c++11

.PHONY:clean
clean:
	rm -rf textThread.exe thread.exe